import request from "@/utils/request";

//获取公告列表
export function getNoticeTab(params) {
  return request({
    url: "api/getNoticeCategoryList",
    method: "get",
    params,
  });
}

//获取公告列表
export function getNoticeList(params) {
  return request({
    url: "api/getNoticeList",
    method: "get",
    params,
  });
}

//获取公告详情
export function getNotice(params) {
  return request({
    url: "api/getNotice",
    method: "get",
    params,
  });
}
